<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>HomeworkTest1</title>
    <style>
        .card{
            width: 611px;
            height: 376px;
            background-color: #e8e8e8;
            background-image: url("../img/computer1.png");
            background-repeat: no-repeat;
            background-size: 318px 319px;
            background-position: 265px  35px;
            overflow: hidden;  /* 结界 */
        }
        .card>div {
            width: 245px;
            height: 232px;
            margin-top: 68px;
            margin-left: 36px;
        }
        .text1{
            font-size: 32px;
            color: #333;
            font-weight: lighter;
        }
        .text2{
            font-size: 12px;
            color: #666;
            font-weight: lighter;
            margin-top: 12px;

        }

        .text3{
            front:24px;
            color: #0aa1ed;
            margin-top: 12px;
            font-weight: bold;
        }
        .text4{
            width: 132px;
            height: 40px;
            margin-top: 12px;
            /*  设置文字上下对齐 */
            line-height: 40px;
            color: #fff;
            background-color: #0aa1ed;
            border: 2.5px solid #000;
        }

    </style>
</head>
<body>
    <div class="card">
        <div>
            <span class="text1">灵越&nbsp;燃7000系列</span>
            <div class="text2">
                酷睿双核i5处理器|256GB&nbsp;SSD|&nbsp;8GB内存<br>
                英特尔HD显卡620含用享显卡内存
            </div>
            <div class="text3">¥4999.0</div>
            <div class="text4" align="center">查看详细</div>
        </div>
    </div>
</body>
</html>